<template>
<div class='srouce-look'>
    <a-button @click="handleLookPdf">pdf</a-button>

    <DialogPdf v-model="showPdf" :src="pdfSrc"></DialogPdf>
</div>
</template>
<script setup lang='ts'>
import DialogPdf from '@/components/DialogPdf/index.vue'
import { ref } from 'vue';
const showPdf = ref(false)
import pdfFile from '@/assets/file/王烽叠简历-前端.pdf'
const pdfSrc = ref(pdfFile)
const handleLookPdf = () => {
    showPdf.value = true
}
</script>
<style lang='scss' scoped>
.srouce-look {

}
</style>